package main

import (
	"models";
)

func main() {
	p := models.NewPlayer();
	b := models.NewBoard();
	b.PrintBoard(models.PRINT_NT);
	b.PrintJumpto();
	b.PrintInfo();

	// move player 5 steps, should be at (5, 0);
	p.MovePlayer(5);
	if p.GetPosition().X != 5 || p.GetPosition().Y != 0 {
		panicln("assert failed")
	}

	// move player 8 steps, should be at (3, 1);
	p.MovePlayer(8);
	if p.GetPosition().X != 3 || p.GetPosition().Y != 1 {
		panicln("assert failed")
	}
}
